Repository navigation
dtoverlays: Update all image sensor overlays for Media Controller option - #4645
Merged
Merged
Conversation
pelwell
reviewed
Oct 22, 2021
Add an option to enable configuration via the Media Controller API (rather than the video-node-centric /dev/videoN) as about to be used by libcamera as it enables more complex pipelines to be handled. Any source that has a libcamera tuning merged has MC enabled by default. Sources with no libcamera tuning merged have it disabled by default. In either case it can be overridden with the overlay parameter "media-controller". Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
6by9
force-pushed
the
rpi-5.10.y-unicam-mc-dt
branch
from
October 22, 2021 11:25
3e5d625 to
24be7a1
Compare
Contributor
Author
|
Updated to fix the phandles for the overrides. |
naushir
added a commit
to naushir/libcamera
that referenced
this pull request
Oct 22, 2021
…roller Switch the pipeline handler to use the new Unicam media controller based driver. With this change, we directly talk to the sensor device driver to set controls and set/get formats in the pipeline handler. This change requires the accompanying Raspberry Pi linux kernel change at raspberrypi/linux#4645. If this kernel change is not present, the pipeline handler will fail to run with an error message informing the user to update the kernel build. Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Contributor
|
That looks OK. Let me know when you'd like it merged, @naushir. |
Contributor
|
Will do, I've published the accompanying userland changes to the mailing list, so once the review cycle is done, I'll let you know. |
kbingham
pushed a commit
to kbingham/libcamera
that referenced
this pull request
Nov 2, 2021
…roller Switch the pipeline handler to use the new Unicam media controller based driver. With this change, we directly talk to the sensor device driver to set controls and set/get formats in the pipeline handler. This change requires the accompanying Raspberry Pi linux kernel change at raspberrypi/linux#4645. If this kernel change is not present, the pipeline handler will fail to run with an error message informing the user to update the kernel build. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Contributor
|
@popcornmix, this can be merged now. |
Contributor
Author
|
WIP tag removed - libcamera changes are merged. |
popcornmix
added a commit
to raspberrypi/firmware
that referenced
this pull request
Nov 2, 2021
…ller option See: raspberrypi/linux#4645 firmware: ISP: Fix magenta colour in right hand image of stereo pair See: https://forums.raspberrypi.com/viewtopic.php?t=321089
popcornmix
added a commit
to raspberrypi/rpi-firmware
that referenced
this pull request
Nov 2, 2021
…ller option See: raspberrypi/linux#4645 firmware: ISP: Fix magenta colour in right hand image of stereo pair See: https://forums.raspberrypi.com/viewtopic.php?t=321089
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an option to enable configuration via the Media Controller API
(rather than the video-node-centric /dev/videoN) as about to
be used by libcamera as it enables more complex pipelines to be
handled.
Any source that has a libcamera tuning merged has MC enabled by
default.
Sources with no libcamera tuning merged have it disabled by
default.
In either case it can be overridden with the overlay parameter
"media-controller".
Signed-off-by: Dave Stevenson dave.stevenson@raspberrypi.com
Follow up to #4641 to switch over to MC usage. Wants the libcamera updates to be merged first/at the same time.